//
//  KZVocabularyImproveTestView.h
//  听说弱点强化训练
//
//  Created by 朱凯 on 2018/10/22.
//  Copyright © 2018年 盛超. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "KZVocabularyPackageModel.h"


@interface KZVocabularyImproveTestView : UIView

@property (nonatomic, strong) KZVocabularyCurrentPackageDetailModel *model;
@property (nonatomic, strong) KZVocabularyPackageModel *packageModel;

// 第二次测试失败，界面停留回调
@property (nonatomic, copy) void (^failureStayBlock)(void);
@property (nonatomic, copy) void (^successStayBlock)(void);
@property (nonatomic, copy) void (^nextBlock)(void);

@property (nonatomic, assign, readonly) BOOL isPauseAtRecording;

@property (nonatomic,strong) LSSoundPlayer *soundPlayer;


/**
 在vc退出后，释放资源：定时器，音频播放器，录音器
 */
- (void)freeSource;
- (void)pauseSource;
- (void)beginSource;


@end
